sorted

pure function sorted(): list<T>

Sorts the elements of this collection into a list. This collection is not modified.

Return

a sorted list containing the same elements as this collection

Since

0.8.0